package com.jiayang.business.equipmenterrorpage;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiayang.business.equipmenterrorpage.domain.dto.EquipmentErrorQueryDTO;
import com.jiayang.business.equipmentinfopage.domain.dto.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ Author     ：OuyangChenglong
 * @ Date       ：Created in 11:00 2021/9/9
 * @ Description：设备报警详情
 * @ Modified By：
 * @Version: 1.0$
 */
@Mapper
@Component
public interface EquipmentErrorDao extends BaseMapper {

    List<EquipmentErrorDTO> getEquipmentErrorList(Page page, @Param("equipmentErrorQueryDTO") EquipmentErrorQueryDTO equipmentErrorQueryDTO);

    List<DeviceOperationHistoryDTO> getDeviceOperationHistory(String id);

}
